#!/bin/bash

sudo systemctl enable --now iscsid

#kubectl apply -f https://openebs.github.io/charts/openebs-operator.yaml
#kubectl delete -f https://openebs.github.io/charts/openebs-operator.yaml

kubectl apply -f https://openebs.github.io/charts/openebs-operator-lite.yaml 
kubectl apply -f https://openebs.github.io/charts/openebs-lite-sc.yaml

mkdir -p /opt/data/openebs/local

kubectl apply -k ./k8s